<?php
/**
 * This file is part of brawler
 *
 * Brawler is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or
 * (at your option) any later version.
 *
 * Brawler is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
 * General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this library; if not, write to the Free Software Foundation,
 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 *
 * Copyright (c) 2009 Cem Derin, <actioncem@gmail.com>
 *
 * @author      Cem Derin, <actioncem@gmail.com>
 * @package     Brawler
 * @copyright   2009 Cem Derin, <actioncem@gmail.com>
 * @license     GNU Lesser General Public License
 *              http://www.gnu.org/licenses/lgpl.html
 */

// turn on error messages
error_reporting(E_ALL | E_STRICT);
ini_set('display_errors', 1);

// set include path
set_include_path(get_include_path(). PATH_SEPARATOR. dirname(__FILE__));

// require autoloader
require_once 'Brawler/Loader.php';

// register autoloader
spl_autoload_register(array('Brawler_Loader', 'load'));

// kick application
return Brawler_Application::run();

?>